package com.prolestar.partyConstruction.mapper;

import com.prolestar.partyConstruction.domain.PsCompanyPartyinfo;
import com.prolestar.partyConstruction.domain.PsCompanypartyActivites;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PartyConstructionMapper {

    List<PsCompanyPartyinfo> selectpartyConstructionList(PsCompanyPartyinfo psCompanyPartyinfo);

    List<PsCompanyPartyinfo> selectpartyConstructionUserList(PsCompanyPartyinfo psCompanyPartyinfo);

    PsCompanyPartyinfo selectPartyConstructionById(Long id);

    List<PsCompanypartyActivites> selectPsCompanypartyActivitesById(Long id);

    void insertPsCompanyPartyinfo(PsCompanyPartyinfo psCompanyPartyinfo);

    void insertPsCompanypartyActivites(PsCompanypartyActivites l);

    void updatePsCompanyPartyinfo(PsCompanyPartyinfo psCompanyPartyinfo);

    void updatePsCompanypartyActivites(PsCompanypartyActivites l);

    void deletePsCompanyPartyinfo(Long id);

    void deletePsCompanypartyActivites(Long id);

    PsCompanypartyActivites getPcaInfo(Long id);

    void removePca(Long id);
}
